package ch1.refactors;

public class Rental {

    private Movie _movie;

    private int _daysRented;

    public Movie getMovie() {
        return this._movie;
    }

    public int getDaysRented(){
        return this._daysRented;
    }

    double getCharge(){
        return _movie.getCharge(_daysRented);
    }

    public int getFrequentRenterPoints() {
        return _movie.getFrequentRentalPoints(_daysRented);
    }
}
